package cn.lumora.pojo;

import cn.lumora.core.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 玩家表
 */
@EqualsAndHashCode(callSuper = false)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("player")
@Builder
public class Player extends BaseEntity{
    /**
     * 账号
     */
    @TableField("username")
    private String username;
    /**
     * 密码
     */
    @TableField("pass")
    private String password;

    /**
     * 昵称
     */
    @TableField("nickname")
    private String nickname;

    /**
     * 性别
     */
    @TableField("gender")
    private Integer gender;

    /**
     * 手机号
     */
    @TableField("phone")
    private String mobile;

    /**
     * 最近登录时间
     */
    @TableField("last_login_time")
    private String lastLoginTime;
}
